package ysq.xyg.model;

import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;


/**
 * 心动邀请
 */
@Data
@NoArgsConstructor
@Table(name = "ddc_my_invite")
public class MyInvite implements Serializable {


    @Id
    private String id;

    /**
     * 邀请人id
     */
    @Column(name = "my_id")
    private String myId;
    /**
     * 被邀请人id
     */
    @Column(name = "invite_id")
    private String inviteId;
    /**
     * 状态：1、同意，2、不同意，3、等待选择
     */
    @Column(name = "status")
    private String status;
    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * 被邀请人昵称
     */
    @Transient
    private String nickName;
    /**
     * 被邀请人手机号
     */
    @Transient
    private String phone;

    /**
     * 被邀请人封面图片
     */
    @Transient
    private String otherPic;
    /**
     * 被邀请人性别
     */
    @Transient
    private String otherSex;
    /**
     *被 邀请人关注人数
     */
    @Transient
    private int otherAttaNum;


    /**
     * 邀请人昵称
     */
    @Transient
    private String myNickName;
    /**
     * 邀请人手机号
     */
    @Transient
    private String myPhone;
    /**
     * 邀请人封面图片
     */
    @Transient
    private String myPic;
    /**
     * 邀请人性别
     */
    @Transient
    private String mySex;
    /**
     * 邀请人关注人数
     */
    @Transient
    private int myAttaNum;


    public MyInvite(String myId, String inviteId) {
        this.myId = myId;
        this.inviteId = inviteId;
    }

}